package com.common.baselibrary.request;

/**
 * @author Administrator QQ:316854001
 * @name azh
 * @class name：com.cpic.team.azh.utils.request
 * @class describe
 * @time 2019/6/17 14:49
 * @change
 * @chang time
 * @class describe
 */
public class BaseCallModel<T> {
    public int code;
    public String msg;
    public T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isSuccess(){
        return getCode() ==200;
    }
}
